#ifndef DOUBLE_PARAM_H
#define DOUBLE_PARAM_H

#include "TableParam.h"
#include "InvalidIndex.h"
#include "Util.h"

class DoubleParam: public TableParam {
protected:
	double *values;

public:
	DoubleParam();
	DoubleParam( int dim, int *size, const char *dimName, const char *name );
	void create( int dim, int *size, const char *dimName, const char *name );

	void read( Input &input ) throw (GenericException);

	void set( int *pos, double val ) throw (InvalidIndex);
	double get( int *pos ) throw (InvalidIndex);
};

#endif